const common = []
export default function getAttrList(tag, lowCode){
  let list
  switch(tag) {
    case "c-button":
      list = [
        // {
        //   type: "input",
        //   label: "click",
        //   fieldName: "click",
        //   extraConfig: {
        //     className: "row",
        //   },
        //   dataType: "",
        // },
      ]
      break
    case "C-month-picker":
      break
    default:
      list = []
  }
  const init = []
  common.forEach(commonItem => {
    const value = list.find(item => item.fieldName === commonItem.fieldName)
    if(!value){
      init.push(commonItem)
    }
  })
  
  return [...init, ...list]
}